package com.css.zfzx.sjcj.modules.qhseismicfortification.service;

import com.alibaba.fastjson.JSONObject;
import com.css.zfzx.sjcj.modules.qhseismicfortification.repository.entity.QhSeismicFortificationEntity;
import com.css.zfzx.sjcj.modules.qhseismicfortification.viewobjects.QhSeismicFortificationQueryParams;
import com.css.bpm.platform.sys.dict.repository.entity.DictItemEntity;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author tao
 * @date 2020-11-17
 */

public interface QhSeismicFortificationService {

    public JSONObject queryQhSeismicFortifications(QhSeismicFortificationQueryParams queryParams, int curPage, int pageSize);

    public QhSeismicFortificationEntity getQhSeismicFortification(String id);

    public QhSeismicFortificationEntity saveQhSeismicFortification(QhSeismicFortificationEntity qhSeismicFortification);

    public QhSeismicFortificationEntity updateQhSeismicFortification(QhSeismicFortificationEntity qhSeismicFortification);

    public void deleteQhSeismicFortifications(List<String> ids);

    List<DictItemEntity> getValidDictItemsByDictCode(String dictCode);

    public void submitQhSeismicFortification(String ids);

    String importExcel(MultipartFile file);

    String exportExcel(String ids, HttpServletResponse response);

    String exportExcel(List<QhSeismicFortificationEntity> areaEntities, HttpServletResponse response);

    JSONObject dataQualityCheck(String drillCodes);

    JSONObject dataQualityCheck(List<QhSeismicFortificationEntity> qhStandardPenetrationList);
}
